﻿@model XSTDZ.ERP.Application.DataContracts.UserDto

@{
    ViewBag.Title = " - 修改密码";
}
@section header{
     <link href="@Url.Content("~/Content/Controls.css")" rel="stylesheet" type="text/css" />
}


@using (Html.BeginForm()) {
   

    <fieldset>
         <div class="field-validation-error">@Html.ValidationSummary(true)</div> 
        <div class="editor-label">
            @Html.LabelFor(model => model.AccountName)
             @Html.HiddenFor(model => model.Id)
        </div>
        <div class="editor-field">
              @Html.TextBoxFor(model => model.AccountName, new { @class = "text", @disabled = "disabled" })
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
              @Html.TextBoxFor(model => model.Name, new { @class = "text", @disabled = "disabled" })
        </div>

        <div class="editor-label">
           请输入原密码：
        </div>
        <div class="editor-field">
            <input type="password" name="OrgPassword" id="OrgPassword" class="text"  />
              @Html.ValidationMessage("OrgPassword")
            
        </div>
         <div class="editor-label">
           请输入新密码：
        </div>
        <div class="editor-field">
            <input type="password" name="NewPassword" id="NewPassword" class="text" />
             @Html.ValidationMessage("NewPassword")
        </div>

         <div class="editor-label">
           确认新密码：
        </div>
        <div class="editor-field">
            <input type="password" name="ComfirmPassword" id="ComfirmPassword" class="text" />
             @Html.ValidationMessage("ComfirmPassword")
        </div>
        <div class="editor-field">
         <b style=" color:Red;">@ViewBag.Success</b>
         </div>
        <p class="divBtn">
            <input type="submit" value="@XSTDZ.ERP.Infrastructure.SystemConfig.BtnSave"  class="BtnSubmit" id="submitBtn" name="submitBtn" />
           
        </p>
    </fieldset>
}

<script type="text/javascript" src="@Url.Content("~/Content/js/formBase.js")"></script>